﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddTestPaper.aspx.cs" Inherits="ExamV5.LineStudyExam.AddTestPaper" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <meta http-equiv="Content-Language" content="zh-cn" />
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	
    <link href="../Image/STYLE.CSS" rel="stylesheet" type="text/css" />
	<script language="JavaScript" charset="gb2312" src="../Image/calendar.js"></script>
    <script type="text/javascript" language="javascript">
        function SubmitKeyClick(button) {
            if (event.keyCode == 13) {
                event.keyCode = 9;
                event.returnValue = false;
                document.all[button].click();
            }
        }

        function CheckData() {
            if (document.getElementById("txtExamName").value == "") {
                alert("考试名称不可以为空！");
                document.getElementById("txtExamName").focus();
                return false;
            }

            if (document.getElementById("txtExamTime").value == "") {
                alert("考试时长不可以为空！");
                document.getElementById("txtExamTime").focus();
                return false;
            }
            if (document.getElementById("txtPaperSumFen").value == "") {
                alert("试卷总分不可以为空！");
                document.getElementById("txtPaperSumFen").focus();
                return false;
            }

            if (document.getElementById("txtSubjectID").value == "") {
                alert("请选择考试科目名称！");
                return false;
            }

            return true;
        }

        function ShowSubjectList(txtSubjectName, txtSubjectID) {
            var strusername = "";
            var strname = "";
            strname = document.getElementById("txtSubjectName").value;
            strusername = document.getElementById("txtSubjectID").value;
            strtmpusers = textSubject(strusername, strname);
            if (strtmpusers != "" && strtmpusers != "undefined") {
                strtmpusers = strtmpusers.split("_");
                document.getElementById("txtSubjectID").value = strtmpusers[0];
                document.getElementById("txtSubjectName").value = strtmpusers[1];
            }
        }

        function textSubject(usernames, names) {
            var strURL = "../PaperInfo/FrmChooseSubject.aspx?ID=0";
            var obj = new Object();
            obj.username = usernames;
            obj.name = names;

            var iWidth = 600;
            var iHeight = 580;
            var iTop = (window.screen.availHeight - 30 - iHeight) / 2;
            var iLeft = (window.screen.availWidth - 10 - iWidth) / 2;
            var strvalue = window.open(strURL, "", "height=" + iHeight + ", width=" + iWidth + ", top=" + iTop + ", left=" + iLeft + ",status=no,toolbar=no,menubar=no,location=no");
            if (strvalue == undefined) {
                return window.returnValue;
            }
            else if (strvalue != "")
                return strvalue;
            else
                return false;
        }

        function ShowSelectTypeJ() {
            if (document.getElementById("txtSubjectID").value == "") {
                alert("请选择考试科目名称！");
                return false;
            }

            var strSubjectID = document.getElementById("txtSubjectID").value;
            var strExamType;
            var strReadOther = "0";
            strExamType = "C";
            strReadOther = "1";

            var strURL = "../PaperInfo/FrmShowSelectTypeJ.aspx?SubjectID=" + strSubjectID + "&ExamType=" + strExamType + "&ReadOther=" + strReadOther;
            
            var iWidth = 1000;
            var iHeight = 700;
            var iTop = (window.screen.availHeight - 30 - iHeight) / 2;
            var iLeft = (window.screen.availWidth - 10 - iWidth) / 2;
            var strvalue = window.open(strURL, "", "height=" + iHeight + ", width=" + iWidth + ", top=" + iTop + ", left=" + iLeft + ",status=no,toolbar=no,menubar=no,location=no");
            if (strvalue == undefined) {
                return window.returnValue;
            }
            else if (strvalue != ""){
                    strtmpusers = strvalue.split("-");
                    document.getElementById("txtRubricJSum").value = strtmpusers[0];
                    document.getElementById("txtRubricJFen").value = strtmpusers[1];
                    document.getElementById("txtSumJRubricType").value = strtmpusers[2];
                }
            else
                return false;
        }
		</script>
</head>
<body>
    <form id="Form1" runat="server">
     <asp:ScriptManager ID="SM" runat="server">
                        </asp:ScriptManager>
                        <asp:UpdatePanel ID="UPPart" runat="server">
                           <ContentTemplate>
    
                           <table cellSpacing="0" cellPadding="0" border="0">
	    <tr>
		   <td width=37><img src="../image/BobyTip.gif" border="0" /></td>
           <td>当前位置：<a href='../FrmMain.aspx'>系统首页</a> > <a href='TestExamList.aspx'>自我模拟考试</a> > 定义模拟考试</td>
	    </tr>
        </table>
        <table cellSpacing="0" cellPadding="0" border="0" width="100%">
        <tr>
           <td  height=51  background="../image/BobyModNameBG.gif">
                    <table cellSpacing="0" cellPadding="0" border="0">
                        <tr>
                            <td width=5></td>
                            <td width="133"  background="../image/HeadTitleCB.gif" height="41" align="center"><a href='AddTestPaper.aspx'  onfocus='this.blur();'><img src="../image/MenuICO/Menu17.gif" border="0" style='POSITION:relative;TOP:3px'> <font color="#ffffff"><b>定义模拟考试</b></font></a></td>
                         </tr>
                   </table>
            </td>
         </tr>
         <tr>
            <td  height=33  background="../image/QueryBG.gif" align="right">
                        <table cellSpacing="0" cellPadding="0" border="0">
                            <tr>
                                <td></td> 
                                  
                                   </tr>
                        </table>     
            </td>
         </tr>
         <tr>
                <td>
                                    <!--数据列表区-->
                                        <table id="table3" borderColor="#cccccc" cellSpacing="0" borderColorDark="#cccccc" cellPadding="0"
										width="100%" align="center" border="1" class="tableStyle">
                                        <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"><font color="red">*</font> 考试名称：</td>
											<td>
                                                <asp:TextBox ID="txtExamName" runat="server" CssClass="text" Width="353" Height="23"></asp:TextBox>
                                            </td>
										</tr>
                                       
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80"><font color="red">*</font> 考试科目：</td>
											<td>
                                            <textarea class="text" style="WIDTH: 350px; HEIGHT: 50px" id="txtSubjectName" 
                                                    name="txtSubjectName" rows="4" readOnly row="3"><%=strSubjectName%></textarea> <A onclick="javascript:ShowSubjectList('txtSubjectName','txtSubjectID');" href="#" onfocus='this.blur();'>
													<img alt="选择考试科目" src="../image/butChooseA.gif" border="0"  style="POSITION:relative;TOP:-10px"></A>
												<input  type=hidden value="<%=strSubjectID%>" id="txtSubjectID" name="txtSubjectID">
                                            </td>
										</tr>
                                        <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"><font color="red">*</font> 试卷模板：</td>
											<td align="left"><asp:DropDownList id="DDLPaperTemplet" style="height:26px;" runat="server" 
                                                    Width="355px" AutoPostBack="True" 
                                                    onselectedindexchanged="DDLPaperTemplet_SelectedIndexChanged"></asp:DropDownList>
                                            </td>
										</tr>
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80"><font color="red">*</font> 难易程度：</td>
											<td><asp:DropDownList id="DDLDiffculty" runat="server"  style="height:26px;" Width="355px">
													<asp:ListItem Value="A">难</asp:ListItem>
													<asp:ListItem Value="B">较难</asp:ListItem>
													<asp:ListItem Value="C" Selected="True">中等</asp:ListItem>
													<asp:ListItem Value="D">较易</asp:ListItem>
													<asp:ListItem Value="E">容易</asp:ListItem>
												</asp:DropDownList></td>
										</tr>
                                        <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"><font color="red">*</font> 试卷总分：</td>
											<td align="left"><asp:TextBox id="txtPaperSumFen" runat="server" Width="353px" CssClass="text" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
													style="IME-MODE:disabled" onpaste='return false' MaxLength="3" Height="23">100</asp:TextBox>
                                            </td>
										</tr>
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80"><font color="red">*</font> 入考场IP：</td>
											<td><asp:textbox id="txtStartIP" runat="server" MaxLength="15" CssClass="text" Height="23" Width="169px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false'>1.0.0.0</asp:textbox>─<asp:textbox id="txtEndIP" runat="server" MaxLength="15" CssClass="text" Height="23" Width="169px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false'>255.255.255.255</asp:textbox></td>
										</tr>
                                        
                                        <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"><font color="red">*</font> 试卷排版：</td>
											<td align="left"> <asp:RadioButtonList  RepeatLayout="Flow" id="RBLRubricShow" runat="server" Width="328px" RepeatDirection="Horizontal">
													<asp:ListItem Value="Y" Selected="True">试题全页显示</asp:ListItem>
													<asp:ListItem Value="N">一页一道试题</asp:ListItem>
												</asp:RadioButtonList></td>
										</tr>
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80"><font color="red">*</font> 考试模式：</td>
											<td align="left"> <asp:RadioButtonList  RepeatLayout="Flow" id="RBLExamShow" runat="server" Width="280px" RepeatDirection="Horizontal">
													<asp:ListItem Value="N">禁止切屏离开考场</asp:ListItem>
													<asp:ListItem Value="Y"  Selected="True">可以切屏离开考场</asp:ListItem>
												</asp:RadioButtonList>
                                            </td>
										</tr>
                                       
									</table>
                                    </td>
                                </tr>
                                 <tr height="30">
                                    <td align="right" ><br />
                                    <asp:Button ID="butShowRubricCount" runat="server" Text="显示试题数" CssClass="but4G" OnClientClick="return CheckData();" onclick="butShowRubricCount_Click"/>&nbsp;&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table id="table1" borderColor="#cccccc" cellSpacing="0" borderColorDark="#cccccc" cellPadding="0"
										width="100%" align="center" border="1" class="tableStyle">
                                        <tr bgColor="#ffffff" height="25">
											<td align="right" width="80"><font color="red">*</font> 试题分布：</td>
											<td align="left">
                                                <table cellSpacing="0" cellPadding="0" border="0" bordercolor="#7392c6" bordercolordark="#7392c6"
													style="BORDER-COLLAPSE: collapse">
													<tr height="20">
														<td style="WIDTH: 50px" align="center">
															<asp:TextBox id="txtRubricATip" runat="server" CssClass="text" Width="50px">单选题</asp:TextBox>
														</td>
														<td style="WIDTH: 40px" align="center" ><asp:TextBox id="txtRubricASum" runat="server" CssClass="text" Width="35px" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center" ><asp:Label id="labRubricASumTip" runat="server">道&nbsp; 每题</asp:Label></td>
														<td style="WIDTH: 220px" align="left" ><asp:TextBox id="txtRubricAFen" runat="server" CssClass="text" Width="28px" onkeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>&nbsp;未答倒扣<asp:TextBox id="txtANoWriteFen" runat="server" CssClass="text" Width="28px" onkeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>答错倒扣<asp:TextBox id="txtAErrFen" runat="server" CssClass="text" Width="28px" onkeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>分</td>
														<td style="WIDTH: 83px" align="center" ><asp:Label id="labRubricAFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td style="WIDTH: 142px" ><asp:TextBox id="txtRubricAMemo" runat="server" CssClass="text" Width="130px">选择一项正确的答案</asp:TextBox></td>
														<td >
                                                            <asp:Label ID="labSumA" runat="server" Text=""></asp:Label>
                                                        </td>
													</tr>
													<tr height="20">
														<td style="WIDTH: 50px" align="center" >
															<asp:TextBox id="txtRubricBTip" runat="server" CssClass="text" Width="50px">多选题</asp:TextBox></td>
														<td style="WIDTH: 40px" align="center" ><asp:TextBox id="txtRubricBSum" runat="server" CssClass="text" Width="35px" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center" ><asp:Label id="labRubricBSumTip" runat="server">道&nbsp; 每题</asp:Label></td>
														<td style="WIDTH: 220px" align="left" ><asp:TextBox id="txtRubricBFen" runat="server" CssClass="text" Width="28px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>&nbsp;未答倒扣<asp:TextBox id="txtBNoWriteFen" runat="server" CssClass="text" Width="28px" onkeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>答错倒扣<asp:TextBox id="txtBErrFen" runat="server" CssClass="text" Width="28px" onkeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>分</td>
														<td style="WIDTH: 83px" align="center" ><asp:Label id="labRubricBFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td style="WIDTH: 142px" ><asp:TextBox id="txtRubricBMemo" runat="server" CssClass="text" Width="130px">选择多项正确的答案</asp:TextBox></td>
														<td ><asp:Label ID="labSumB" runat="server" Text=""></asp:Label></td>
													</tr>
													<tr height="20">
														<td style="WIDTH: 50px" align="center">
															<asp:TextBox id="txtRubricCTip" runat="server" CssClass="text" Width="50px">判断题</asp:TextBox></td>
														<td style="WIDTH: 40px" align="center"><asp:TextBox id="txtRubricCSum" runat="server" CssClass="text" Width="35px" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center"><asp:Label id="labRubricCSumTip" runat="server">道&nbsp; 每题</asp:Label></td>
														<td style="WIDTH: 220px" align="left"><asp:TextBox id="txtRubricCFen" runat="server" CssClass="text" Width="28px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>&nbsp;未答倒扣<asp:TextBox id="txtCNoWriteFen" runat="server" CssClass="text" Width="28px" onkeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>答错倒扣<asp:TextBox id="txtCErrFen" runat="server" CssClass="text" Width="28px" onkeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>分</td>
														<td style="WIDTH: 83px" align="center"><asp:Label id="labRubricCFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td style="WIDTH: 142px"><asp:TextBox id="txtRubricCMemo" runat="server" CssClass="text" Width="130px">选择一项正确的答案</asp:TextBox></td>
														<td><asp:Label ID="labSumC" runat="server" Text=""></asp:Label></td>
													</tr>
													<tr height="20">
														<td style="WIDTH: 50px" align="center">
															<asp:TextBox id="txtRubricDTip" runat="server" CssClass="text" Width="50px">填空题</asp:TextBox></td>
														<td style="WIDTH: 40px" align="center"><asp:TextBox id="txtRubricDSum" runat="server" CssClass="text" Width="35px" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center"><asp:Label id="labRubricDSumTip" runat="server">道&nbsp; 每题</asp:Label></td>
														<td style="WIDTH: 220px" align="left"><asp:TextBox id="txtRubricDFen" runat="server" CssClass="text" Width="28px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>&nbsp;分 </td>
														<td style="WIDTH: 83px" align="center"><asp:Label id="labRubricDFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td style="WIDTH: 142px"><asp:TextBox id="txtRubricDMemo" runat="server" CssClass="text" Width="130px">每答对一空都可得分</asp:TextBox></td>
														<td><asp:Label ID="labSumD" runat="server" Text=""></asp:Label></td>
													</tr>
													<tr height="20">
														<td style="WIDTH: 50px" align="center">
															<asp:TextBox id="txtRubricETip" runat="server" CssClass="text" Width="50px">简答题</asp:TextBox></td>
														<td style="WIDTH: 40px" align="center"><asp:TextBox id="txtRubricESum" runat="server" CssClass="text" Width="35px" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center"><asp:Label id="labRubricESumTip" runat="server">道&nbsp; 每题</asp:Label></td>
														<td style="WIDTH: 220px" align="left"><asp:TextBox id="txtRubricEFen" runat="server" CssClass="text" Width="28px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>&nbsp;分 </td>
														<td style="WIDTH: 83px" align="center"><asp:Label id="labRubricEFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td style="WIDTH: 142px"><asp:TextBox id="txtRubricEMemo" runat="server" CssClass="text" Width="130px">回答主题正确均可得分</asp:TextBox></td>
														<td><asp:Label ID="labSumE" runat="server" Text=""></asp:Label></td>
													</tr>
													<tr height="20">
														<td style="WIDTH: 50px" align="center">
															<asp:TextBox id="txtRubricFTip" runat="server" CssClass="text" Width="50px">作文题</asp:TextBox></td>
														<td style="WIDTH: 40px" align="center"><asp:TextBox id="txtRubricFSum" runat="server" CssClass="text" Width="35px" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center"><asp:Label id="labRubricFSumTip" runat="server">道&nbsp; 每题</asp:Label></td>
														<td style="WIDTH: 220px" align="left"><asp:TextBox id="txtRubricFFen" runat="server" CssClass="text" Width="28px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>&nbsp;分 </td>
														<td style="WIDTH: 83px" align="center"><asp:Label id="labRubricFFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td style="WIDTH: 142px"><asp:TextBox id="txtRubricFMemo" runat="server" CssClass="text" Width="130px">回答主题正确均可得分</asp:TextBox></td>
														<td><asp:Label ID="labSumF" runat="server" Text=""></asp:Label></td>
													</tr>
													<tr height="20">
														<td style="WIDTH: 50px" align="center">
															<asp:TextBox id="txtRubricGTip" runat="server" CssClass="text" Width="50px">论述题</asp:TextBox></td>
														<td style="WIDTH: 40px" align="center"><asp:TextBox id="txtRubricGSum" runat="server" CssClass="text" Width="35px" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center"><asp:Label id="labRubricGSumTip" runat="server">道&nbsp; 每题</asp:Label></td>
														<td style="WIDTH: 220px" align="left"><asp:TextBox id="txtRubricGFen" runat="server" CssClass="text" Width="28px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>&nbsp;分 </td>
														<td style="WIDTH: 83px" align="center"><asp:Label id="labRubricGFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td style="WIDTH: 142px"><asp:TextBox id="txtRubricGMemo" runat="server" CssClass="text" Width="130px">回答主题正确均可得分</asp:TextBox></td>
														<td><asp:Label ID="labSumG" runat="server" Text=""></asp:Label></td>
													</tr>
													<tr height="20">
														<td style="WIDTH: 50px" align="center">
															<asp:TextBox id="txtRubricHTip" runat="server" CssClass="text" Width="50px">分析题</asp:TextBox></td>
														<td style="WIDTH: 40px" align="center"><asp:TextBox id="txtRubricHSum" runat="server" CssClass="text" Width="35px" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center"><asp:Label id="labRubricHSumTip" runat="server">道&nbsp; 每题</asp:Label></td>
														<td style="WIDTH: 220px" align="left"><asp:TextBox id="txtRubricHFen" runat="server" CssClass="text" Width="28px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>&nbsp;分 </td>
														<td style="WIDTH: 83px" align="center"><asp:Label id="labRubricHFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td style="WIDTH: 142px"><asp:TextBox id="txtRubricHMemo" runat="server" CssClass="text" Width="130px">回答主题正确均可得分</asp:TextBox></td>
														<td><asp:Label ID="labSumH" runat="server" Text=""></asp:Label></td>
													</tr>
													<tr height="20">
														<td style="WIDTH: 50px" align="center">
															<asp:TextBox id="txtRubricITip" runat="server" CssClass="text" Width="50px">操作题</asp:TextBox></td>
														<td style="WIDTH: 40px" align="center"><asp:TextBox id="txtRubricISum" runat="server" CssClass="text" Width="35px" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center"><asp:Label id="labRubricISumTip" runat="server">道&nbsp; 每题</asp:Label></td>
														<td style="WIDTH: 220px" align="left"><asp:TextBox id="txtRubricIFen" runat="server" CssClass="text" Width="28px" onKeypress="javascript:if ((event.keyCode < 48 || event.keyCode > 57) &&  event.keyCode!=13 &&  event.keyCode!=46)  event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="4">0</asp:TextBox>&nbsp;分 </td>
														<td style="WIDTH: 83px" align="center"><asp:Label id="labRubricIFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td width="142" style="WIDTH: 142px"><asp:TextBox id="txtRubricIMemo" runat="server" CssClass="text" Width="130px">下载原题进行操作后再上传</asp:TextBox></td>
														<td><asp:Label ID="labSumI" runat="server" Text=""></asp:Label></td>
													</tr>
													<tr height="20">
														<td style="WIDTH: 50px" align="center">
															<asp:TextBox id="txtRubricJTip" runat="server" CssClass="text" Width="50px">综合题</asp:TextBox></td>
														<td style="WIDTH: 40px" align="center"><asp:TextBox id="txtRubricJSum" runat="server" CssClass="text" Width="35px" ReadOnly="True">0</asp:TextBox></td>
														<td style="WIDTH: 70px" align="center"><asp:Label id="labRubricJSumTip" runat="server">道&nbsp; 每空</asp:Label></td>
														<td style="WIDTH: 220px" align="left"><asp:TextBox id="txtRubricJFen" runat="server" CssClass="text" Width="28px" ReadOnly="True">0</asp:TextBox>&nbsp;分 &nbsp;&nbsp;&nbsp;总分<asp:TextBox id="txtSumJRubricType" runat="server" CssClass="text" Width="38px" ReadOnly="True">0</asp:TextBox></td>
														<td style="WIDTH: 83px" align="center"><asp:Label id="labRubricJFenTip" runat="server">&nbsp; 操作说明</asp:Label></td>
														<td width="142" style="WIDTH: 142px"><asp:TextBox id="txtRubricJMemo" runat="server" CssClass="text" Width="130px">每小题答案之间用半角#号隔开</asp:TextBox></td>
														<td><asp:Label id="labSumJ" runat="server"></asp:Label>&nbsp;&nbsp;<a name="SelectJ"></a><a href='#' onclick="javascript:ShowSelectTypeJ();"><font color=blue>选择试题</font></a></td>
													</tr>
												</table>
                                            </td>
										</tr>
                                        <tr bgColor="#f5fcfe" height="25">
											<td align="right" width="80"><font color="red">*</font> 考试时长：</td>
											<td align="left">
                                                <asp:TextBox id="txtExamTime" runat="server" Width="50px" CssClass="text" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
													style="IME-MODE:disabled" onpaste='return false' MaxLength="3">100</asp:TextBox>分钟
                                            </td>
										</tr>
                                         <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"><font color="red">*</font> 有效期限：</td>
                                            <td>
                                                <table cellSpacing="0" cellPadding="0" border="0" bordercolor="#7392c6" bordercolordark="#7392c6" style="BORDER-COLLAPSE: collapse">
                                                    <tr>
                                                        <td><asp:TextBox id="txtStartDate" runat="server" Width="80px"  Height="23" CssClass="text" onclick="calendar(this)"></asp:TextBox></td>
                                                        <td><asp:DropDownList id="DDLStartH" runat="server" style="height:26px;">
													<asp:ListItem Value="1">1</asp:ListItem>
													<asp:ListItem Value="2">2</asp:ListItem>
													<asp:ListItem Value="3">3</asp:ListItem>
													<asp:ListItem Value="4">4</asp:ListItem>
													<asp:ListItem Value="5">5</asp:ListItem>
													<asp:ListItem Value="6">6</asp:ListItem>
													<asp:ListItem Value="7">7</asp:ListItem>
													<asp:ListItem Value="8">8</asp:ListItem>
													<asp:ListItem Value="9">9</asp:ListItem>
													<asp:ListItem Value="10">10</asp:ListItem>
													<asp:ListItem Value="11">11</asp:ListItem>
													<asp:ListItem Value="12">12</asp:ListItem>
													<asp:ListItem Value="13">13</asp:ListItem>
													<asp:ListItem Value="14">14</asp:ListItem>
													<asp:ListItem Value="15">15</asp:ListItem>
													<asp:ListItem Value="16">16</asp:ListItem>
													<asp:ListItem Value="17">17</asp:ListItem>
													<asp:ListItem Value="18">18</asp:ListItem>
													<asp:ListItem Value="19">19</asp:ListItem>
													<asp:ListItem Value="20">20</asp:ListItem>
													<asp:ListItem Value="21">21</asp:ListItem>
													<asp:ListItem Value="22">22</asp:ListItem>
													<asp:ListItem Value="23">23</asp:ListItem>
												</asp:DropDownList><asp:DropDownList id="DDLStartM" runat="server" style="height:26px;">
													<asp:ListItem Value="00">00</asp:ListItem>
                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                    <asp:ListItem Value="10">10</asp:ListItem>
							                        <asp:ListItem Value="15">15</asp:ListItem>
                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                    <asp:ListItem Value="25">25</asp:ListItem>
							                        <asp:ListItem Value="30">30</asp:ListItem>
                                                    <asp:ListItem Value="35">35</asp:ListItem>
                                                    <asp:ListItem Value="40">40</asp:ListItem>
							                        <asp:ListItem Value="45">45</asp:ListItem>
                                                    <asp:ListItem Value="50">50</asp:ListItem>
                                                    <asp:ListItem Value="55">55</asp:ListItem>
												</asp:DropDownList></td>
                                                        <td>—</td>
                                                        <td><asp:TextBox id="txtEndDate" runat="server" Width="80px"  Height="23" CssClass="text" onclick="calendar(this)"></asp:TextBox></td>
                                                        <td><asp:DropDownList id="DDLEndH" runat="server" style="height:26px;">
													<asp:ListItem Value="1">1</asp:ListItem>
													<asp:ListItem Value="2">2</asp:ListItem>
													<asp:ListItem Value="3">3</asp:ListItem>
													<asp:ListItem Value="4">4</asp:ListItem>
													<asp:ListItem Value="5">5</asp:ListItem>
													<asp:ListItem Value="6">6</asp:ListItem>
													<asp:ListItem Value="7">7</asp:ListItem>
													<asp:ListItem Value="8">8</asp:ListItem>
													<asp:ListItem Value="9">9</asp:ListItem>
													<asp:ListItem Value="10">10</asp:ListItem>
													<asp:ListItem Value="11">11</asp:ListItem>
													<asp:ListItem Value="12">12</asp:ListItem>
													<asp:ListItem Value="13">13</asp:ListItem>
													<asp:ListItem Value="14">14</asp:ListItem>
													<asp:ListItem Value="15">15</asp:ListItem>
													<asp:ListItem Value="16">16</asp:ListItem>
													<asp:ListItem Value="17">17</asp:ListItem>
													<asp:ListItem Value="18">18</asp:ListItem>
													<asp:ListItem Value="19">19</asp:ListItem>
													<asp:ListItem Value="20">20</asp:ListItem>
													<asp:ListItem Value="21">21</asp:ListItem>
													<asp:ListItem Value="22">22</asp:ListItem>
													<asp:ListItem Value="23">23</asp:ListItem>
												</asp:DropDownList><asp:DropDownList id="DDLEndM" runat="server" style="height:26px;">
													<asp:ListItem Value="00">00</asp:ListItem>
                                                    <asp:ListItem Value="05">05</asp:ListItem>
                                                    <asp:ListItem Value="10">10</asp:ListItem>
							                        <asp:ListItem Value="15">15</asp:ListItem>
                                                    <asp:ListItem Value="20">20</asp:ListItem>
                                                    <asp:ListItem Value="25">25</asp:ListItem>
							                        <asp:ListItem Value="30">30</asp:ListItem>
                                                    <asp:ListItem Value="35">35</asp:ListItem>
                                                    <asp:ListItem Value="40">40</asp:ListItem>
							                        <asp:ListItem Value="45">45</asp:ListItem>
                                                    <asp:ListItem Value="50">50</asp:ListItem>
                                                    <asp:ListItem Value="55">55</asp:ListItem>
												</asp:DropDownList></td>
                                                    </tr>
                                                </table>
                                            
                                            </td>
                                       </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr height="30">
                                    <td align="right" ><br />
                                    <asp:Button ID="butDefault" runat="server" Text="完成组卷" CssClass="but4R" OnClientClick="return CheckData();" onclick="butDefault_Click"/> &nbsp;&nbsp;
                                    </td>
                                </tr>
                                </table><br /><br /><br />
					</td>
					
				</tr>
			</table>
             </ContentTemplate>
       </asp:UpdatePanel>
    </form>
</body>
</html>